package com.naiterui.ehp.bp.bo.form;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class FormConfBO implements java.io.Serializable {

    private static final long serialVersionUID = -7455907430447986937L;

    @ApiModelProperty(value = "表单提交地址")
    private String action;

    @NotNull(message = "表单类型不能为null")
    @ApiModelProperty(value = "1:单表单，2：多表单")
    private Integer type;

    @NotNull(message = "表单标题不能为null")
    @ApiModelProperty(value = "表单标题")
    private String title;

    @NotNull(message = "描述不能为null")
    @ApiModelProperty(value = "描述")
    private String describe;

    @NotNull(message = "保存表单后回调业务服务不能为null")
    @ApiModelProperty(value = "保存表单后回调业务服务")
    private String callBack;

    @ApiModelProperty(value = "保存完跳转地址")
    private String redirect;

    @ApiModelProperty(value = "文件上传地址")
    private String uploadFileUrl;

}
